﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Permissions.aspx.cs" Inherits="Vehicle.Web.Pages.Role.Permissions" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
      <title>物流管理系统</title>
<link href="../../Style/skin.css" rel="stylesheet" type="text/css" />
      <style type="text/css">
          #Btn_Reset
          {
              width: 41px;
          }
      </style>

</head>
<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
   <td width="17" valign="top" background="../../Images/mail_leftbg.gif"><img src="../../images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="../../Images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">权限分配</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="../../images/mail_rightbg.gif"><img src="../../images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="../../images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="left_txt">当前位置：系统管理--<a href="Main.aspx">角色管理</a>--权限分配</td>
          </tr>
          <tr>
            <td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
              <tr>
                <td></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="55" valign="middle"><img src="../../images/user-info.gif" width="54" height="55"></td>
                <td width="90%" valign="top"><span class="left_txt2">在这里，您可以根据您的业务要求，权限分配！</span></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
              <tr>
                <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;权限分配</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td align="center">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td> 选择角色:</td>
            <td align="left"><asp:DropDownList ID="Drop_Select" runat="server" 
                    AutoPostBack="true"  OnSelectedIndexChanged="Drop_Select_SelectedIndexChanged" 
                     Width="120px">
                </asp:DropDownList></td>
          </tr>
           <tr>
              
              
            <td>分配权限:</td>
            <td align="left"> <asp:ScriptManager ID="ScriptManager1" runat="server">
               </asp:ScriptManager>
               <asp:UpdatePanel ID="UpdatePanel1" runat="server">
               <ContentTemplate>
                <asp:DataList ID="Dlst" runat="server" OnItemDataBound="Dlst_ItemDataBound">
                <HeaderTemplate>
                <table><tr>
                </HeaderTemplate>                
                <ItemTemplate>
                <td style=" width:180px"><asp:CheckBox ID="Chk_RP_Value" runat="server" ToolTip='<%# Eval("P_ID") %>' /><asp:Label ID="Lab_P_Name" runat="server" Text='<%# Eval("P_Name") %>' ToolTip='<%# Eval("P_Note") %>'></asp:Label>&nbsp; &nbsp;</td>
                <td><asp:Label ID="Lab_Note" runat="server" Text='<%# Eval("P_Note") %>' ForeColor="red"></asp:Label></td>                  
                </ItemTemplate>                
                <FooterTemplate>
                 </tr> </table>
                </FooterTemplate>
                </asp:DataList></ContentTemplate>
             <Triggers>
             <asp:AsyncPostBackTrigger ControlID="Drop_Select" />
             </Triggers>
               </asp:UpdatePanel>
            </td>
             
          </tr>        
          <tr>
          <td>
          </td>              
          <td align="left"><asp:HiddenField ID="Hf_R_ID" runat="server" />
              <asp:Button ID="Btn_Go" runat="server" Text="提交" OnClick="Btn_Go_Click" />
              <input id="Btn_Reset" type="reset"  value="重置"  />
              </td>
          </tr>
          </table>
		</td>
              </tr>
        </table></td>
      </tr>
    </table></td>
    <td background="../../images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="../../images/mail_leftbg.gif"><img src="../../images/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="../../images/buttom_bgs.gif"><img src="../../images/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="../../images/mail_rightbg.gif"><img src="../../images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
    </form>
</body>
</html>